<template>
  <el-backtop  :right="100" :bottom="100" :visibility-height="300">
    <div class="btn-totop">
      顶部
    </div>
  </el-backtop>
</template>
<script>
  export default {
    name: 'toTop'
  }
</script>

<style scoped lang="less">
  @import "~assets/css/main.less";
  .btn-totop{
    height: 100%;
    width: 100%;
    box-shadow: 0 0 6px rgba(0,0,0, .12);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 12px;
    color:#fff;
    background-color: @themeColor;
  }
</style>
